﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    public class Guestbook:Entity
    {
        /// <summary>
        /// 留言人
        /// </summary>
        public Guid GuestId { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [Required]
        [Length(30)]
        public string Title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [Length(200)]
        public string Contect { get; set; }
    }
}
